﻿using System;

namespace Assets.Content.Scripts.DateBase
{
    [Serializable]
    public class PlayerData
    {
        //常规
        public      string      Name;                  // 姓名
        public      string      Sex;                   // 性别
        public      string      Age;                   // 年龄
        public      PlayerData  Married;               // 结婚对象

        //人体属性值
        public      int         PowerValue;            // 力量值    
        public      int         AgilityValue;          // 敏捷度  
        public      int         VigorValue;            // 精力值             > 控制 '休息'  时间
        public      int         EnduranceValue;        // 耐力值             > 控制 '工作'  速率,随着耐力的降低工作速率降低
        public      float       EntertainmentValue;    // 娱乐值
        public      float       HungerValue;           // 饥饿值
        public      float       ColdValue;             // 寒冷度
        public      int         PersuasiveValue;       // 说服力

        //能力
        public      int         BuildValue;            // 建筑
        public      int         CreateValue;           // 制作
        public      int         SewingValue;           // 缝纫
        public      int         TechnologyValue;       // 科技
        public      int         MedicalValue;          // 医学

        public PlayerData(string name, string sex, string age, PlayerData married, int powerValue, int agilityValue,
            int vigorValue, int enduranceValue, float entertainmentValue, float hungerValue, float coldValue,
            int persuasiveValue, int buildValue,int createValue,int sewingValue,int technologyValue,int medicalValue)
        {
            Name = name;
            Sex = sex;
            Age = age;
            Married = married;
            PowerValue = powerValue;
            AgilityValue = agilityValue;
            VigorValue = vigorValue;
            EnduranceValue = enduranceValue;
            EntertainmentValue = entertainmentValue;
            HungerValue = hungerValue;
            ColdValue = coldValue;
            PersuasiveValue = persuasiveValue;
            BuildValue = buildValue;
            CreateValue = createValue;
            SewingValue = sewingValue;
            TechnologyValue = technologyValue;
            MedicalValue = medicalValue;
        }
    }
}